﻿@{
    ViewBag.Title = "Trung tâm phân phối vé số online.";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@using Common
@model LMS.Admin.Models.Channel.ChannelOpenDaily

<div class="ChannelOpenPage">
    @using (Ajax.BeginForm("SaveChannelOpen", "Channel", new AjaxOptions { UpdateTargetId = "ChannelOpenPage" }))
    {
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.OpenDate)</div>
            <div class="column2">@Html.TextBoxFor(m => m.OpenDate)</div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.ChannelID)</div>
            <div class="column2">@Html.DropDownListFor(m => m.ChannelID, new SelectList((System.Collections.IEnumerable)ViewData["ChannelList"], "Key", "Value"))</div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelEighth)</div>
            <div class="column2">@Html.TextBoxFor(m => m.LevelEighth)</div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelSeventh)</div>
            <div class="column2">@Html.TextBoxFor(m => m.LevelSeventh)</div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelSixth)</div>
            <div class="column3">
                @Html.TextBoxFor(m => m.LevelSixth1, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelSixth2, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelSixth3, new { @class = "minTextBox" })
            </div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelFifth)</div>
            <div class="column2">@Html.TextBoxFor(m => m.LevelFifth)</div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelFourth)</div>
            <div class="column4">
                @Html.TextBoxFor(m => m.LevelFourth1, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelFourth2, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelFourth3, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelFourth4, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelFourth5, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelFourth6, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelFourth7, new { @class = "minTextBox" })
            </div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelThird)</div>
            <div class="column3">
                @Html.TextBoxFor(m => m.LevelThird1, new { @class = "minTextBox" })
                @Html.TextBoxFor(m => m.LevelThird2, new { @class = "minTextBox" })
            </div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelSecond)</div>
            <div class="column2">@Html.TextBoxFor(m => m.LevelSecond)</div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelFirst)</div>
            <div class="column2">@Html.TextBoxFor(m => m.LevelFirst)</div>
        </div>
        <div class="rowClear1">
            <div class="column1">@Html.LabelFor(m => m.LevelSpecial)</div>
            <div class="column2">@Html.TextBoxFor(m => m.LevelSpecial)</div>
        </div>
        <div class="rowClear1">
            <div class="column1">&nbsp;</div>
            <div class="column2">
                <input type="submit" value="@Functions.GlossaryKey("GLS_003_SAVE", Variables.Language)" />
                <input type="button" value="@Functions.GlossaryKey("GLS_003_REFRESH", Variables.Language)" />
            </div>
        </div>
    }
</div>

<script>
    $(function () {
        $("#OpenDate").datepicker({
            showOn: "button",
            changeMonth: true,
            changeYear: true,
            buttonImage: "../images/calendar.gif",
            buttonImageOnly: true
        });
    });
</script>
